package com.chaodev.base.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/17 18:34
 **/
@ApiModel(value="建言献策回复表对象", description="建言献策回复表")
public class AdviceReply implements Serializable {

    private static final long serialVersionUID = -4482726384423010530L;
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "建言ID，tb_advice表中id")
    private Integer aveId;

    @ApiModelProperty(value = "回复人")
    private String replyUserCode;

    @ApiModelProperty(value = "回复人")
    private String replyUserName;

    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "回复时间（创建时间）")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date cTime;

    @ApiModelProperty(value = "状态（0：无效  1：有效）")
    private Integer state;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public Integer getAveId() {
        return aveId;
    }

    public void setAveId(Integer aveId) {
        this.aveId = aveId;
    }
    public String getReplyUserCode() {
        return replyUserCode;
    }

    public void setReplyUserCode(String replyUserCode) {
        this.replyUserCode = replyUserCode;
    }
    public String getReplyUserName() {
        return replyUserName;
    }

    public void setReplyUserName(String replyUserName) {
        this.replyUserName = replyUserName;
    }
    public String getReplyContent() {
        return replyContent;
    }

    public void setReplyContent(String replyContent) {
        this.replyContent = replyContent;
    }
    public Date getcTime() {
        return cTime;
    }

    public void setcTime(Date cTime) {
        this.cTime = cTime;
    }
    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "TbAdviceReply{" +
                "id=" + id +
                ", aveId=" + aveId +
                ", replyUserCode=" + replyUserCode +
                ", replyUserName=" + replyUserName +
                ", replyContent=" + replyContent +
                ", cTime=" + cTime +
                ", state=" + state +
                "}";
    }
}
